package org.extframework.ld.bean;

import java.util.HashSet;
import java.util.Set;

import org.extframework.ld.bean.model.IUser;

/**
 * @author : Dong.Li
 * @created : 2013-1-21
 * @version : 1.0
 * @description :
 */
public class User extends Entity implements IUser {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String name;
	
	private Set<Role> roles = new HashSet<Role>();
	
	private Boolean beActive = false;
	
	
	public Boolean getBeActive() {
		return beActive;
	}


	public void setBeActive(Boolean beActive) {
		this.beActive = beActive;
	}


	public Set<Role> getRoles() {
		return roles;
	}


	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getName() {
		return name;
	}

}
